package com.github.zhp.startup;

import com.github.zhp.GenerateStarter;

import java.io.IOException;

public class CodeGenerator {
    public static void main(String[] args) throws IOException {
        String configPath = "config.json";
        if (args != null && args.length != 0) {
            configPath = args[0];
            System.out.println(configPath);
        }
        GenerateStarter generator = new GenerateStarter(configPath);
        generator.start();
    }
}
